package org.jackysoft.util;

import java.util.List;

import com.google.common.collect.Lists;

public class AttTypeManager {

	private static final List<String> innerType = 
			Lists.newArrayList("doc","docx","xls","xlsx","ppt","pptx","pdf","rar","txt");
	
	public static int getType(String ext){
		return innerType.indexOf(ext);
	}
}
